package lore.miniwechat.service;

import lore.miniwechat.dto.PageData;
import lore.miniwechat.entity.User;

import java.util.List;

public interface UserService {
    List<User> getUsers();

    //分页查询
    PageData<User> getUserPageData(Integer page,Integer size);

    //插入
    void insert(User user);

    //修改
    void update(String uid);

    //删除
    void deleteByPrimaryKey(String uid);
}
